package com.dz.xjd.utils;

/**
 * Created by dz on 2017/7/25.
 */

public class KeyUtil {

    public static String[] getKey(String token){
        String key1 = token.substring(1,10);
        String key2 = token.substring(token.length()-7);
        String KEY = key1 + key2;
        String iv = KEY.toUpperCase();
        String[] key = new String[]{KEY, iv};
        return key;
    }
}
